export const TEMPLATE_TYPE = {
    INTERVIEW: 'interview_notification',
    OFFER: 'offer_notification',
    ELIMINATE: 'eliminate_notification',
    BACKGROUND: 'background_check_notification',
    OFFER_INFO: 'offer_information'
};

export const TEMPLATE_TITLE = {
    interview_notification: '面试通知',
    offer_notification: '录用通知',
    background_check_notification: '背调通知',
    eliminate_notification: '淘汰通知',
    offer_information: '录用信息'
};

export const RECRUIT_CODE = {
    SEND_LIMIT: 'SEND_LIMIT', // 发送限制
    INTERVIEW_EFFECTIVE: 'INTERVIEW_EFFECTIVE', // 面试反馈链接有效期
    OFFER_EFFECTIVE: 'OFFER_EFFECTIVE', // 录用反馈链接有效期
    STATEMENT_SETTING_SWITCH: 'STATEMENT_SETTING_SWITCH', // 声明设置
    INTERVIEW_NOTICE_PARAM: 'INTERVIEW_NOTICE_PARAM', // 面试通知参数
    OFFER_NOTICE_PARAM: 'OFFER_NOTICE_PARAM', // 录用通知参数
    BACKGROUND_NOTICE_PARAM: 'BACKGROUND_CHECK__NOTICE_PARAM', // 背调通知参数
    REJECT_NOTICE_PARAM: 'REJECT_NOTICE_PARAM', // 淘汰通知参数
    OFFER_INFO_PARAM: 'OFFER_INFO_PARAM' // 录用信息参数
};

export const TEMPLATE_CODE = {
    [TEMPLATE_TYPE.INTERVIEW]: RECRUIT_CODE.INTERVIEW_NOTICE_PARAM,
    [TEMPLATE_TYPE.OFFER]: RECRUIT_CODE.OFFER_NOTICE_PARAM,
    [TEMPLATE_TYPE.BACKGROUND]: RECRUIT_CODE.BACKGROUND_NOTICE_PARAM,
    [TEMPLATE_TYPE.ELIMINATE]: RECRUIT_CODE.REJECT_NOTICE_PARAM,
    [TEMPLATE_TYPE.OFFER_INFO]: RECRUIT_CODE.OFFER_INFO_PARAM
};
